package com.woniu.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
@Data
@Component
@ConfigurationProperties(prefix = "authenticationurls")
public class AuthenticationUrlProperties {

    //公共的需要放行的资源
    private List<String> baseUrls;

    //管理系统需要放行的资源
    private List<String> systemUrls;

    //用户系统需要放行的资源
    private  List<String> userUrls;
}
